package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Organization;
import cn.wolfcode.crm.domain.Product;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IProductService {
    List<Product> selectAll();

    PageResult query(QueryObject qo);

    void insert(Product record,Organization organization);

    void updateByPrimaryKey(Product dept,Organization organization);

    List<Product> selectProductByOrganizationId(Long id);

    Product selectByPrimaryKey(Long id);
}
